    <template>
    <div>当前是TestOAuth2Data</div>
</template>

<script>
    export default {
        data() {
            return {

            }
        },
        created(){
            this.refreshData();
        },
        methods: {
            verifySuccessHandler(component, data){
                console.log("OJBK" + data);
            },
            refreshData(){
                this.CommonFunction.getDataFromResourceServer(
                    this,
                    'http://127.0.0.1:8081/getData',
                    {"data":"ttttt"},
                    true,
                    true,
                    this.verifySuccessHandler,
                    this.CommonFunction.verifyFailRedirectOAuth2LoginHandler_Cms,
                    this.CommonFunction.otherFailBlankHandler)
            },
        },
    }
</script>

<style scoped>

</style>